package com.group5.onlinegame.entity;

import java.sql.Timestamp;

public class ProductType {
    private Integer id;//商品类型ID

    private String type;//商品类型名称

    private Timestamp createTime;//商品类型创建时间

    public ProductType() {
    }

    public ProductType(Integer id, String type, Timestamp createTime) {
        this.id = id;
        this.type = type;
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ProductType{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
